package com.bootdo.storageRack.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.storageRack.dao.StorageRackInOutRecordDao;
import com.bootdo.storageRack.domain.StorageRackInOutRecordDO;
import com.bootdo.storageRack.service.StorageRackInOutRecordService;
import org.springframework.transaction.annotation.Transactional;



@Service
@Transactional
public class StorageRackInOutRecordServiceImpl implements StorageRackInOutRecordService {
	@Autowired
	private StorageRackInOutRecordDao storageRackInOutRecordDao;
	
	@Override
	public StorageRackInOutRecordDO get(Long id){
		return storageRackInOutRecordDao.get(id);
	}
	
	@Override
	public List<StorageRackInOutRecordDO> list(Map<String, Object> map){
		return storageRackInOutRecordDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return storageRackInOutRecordDao.count(map);
	}
	
	@Override
	public int save(StorageRackInOutRecordDO storageRackInOutRecord){
		return storageRackInOutRecordDao.save(storageRackInOutRecord);
	}
	
	@Override
	public int update(StorageRackInOutRecordDO storageRackInOutRecord){
		return storageRackInOutRecordDao.update(storageRackInOutRecord);
	}
	
	@Override
	public int remove(Long id){
		return storageRackInOutRecordDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return storageRackInOutRecordDao.batchRemove(ids);
	}
	
}
